package com.example.childpositionapp.network;

public class Tool {
    public static void addFence(String text, okhttp3.Callback callback) {
        Util.postToken("/importLocation", text, callback);
    }
    public static void getFence(okhttp3.Callback callback) {
        Util.getHttp("/getRecordLocation", callback);
    }
    public static void Login(String text, okhttp3.Callback callback) {
        Util.postHttp("/login", text, callback);
    }
    public static void Register(String text, okhttp3.Callback callback) {
        Util.postHttp("/register", text, callback);
    }
    public static void getYzm(String email,okhttp3.Callback callback) {
        Util.getYzm("/sendCode"+"?email="+email, callback);
    }
    public static void ChangePsw(String text, okhttp3.Callback callback) {
        Util.postHttp("/changePassword", text, callback);
    }
}
